package com.yc.cloud.common.oss.request;


import com.yc.cloud.common.basic.enums.EnumValue;
import com.yc.cloud.common.oss.enums.OssCategoryEnums;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class OssListParam {
    @ApiModelProperty(value = "企业ID", hidden = true)
    private Long companyId;

    @ApiModelProperty(value = "用户ID", hidden = true)
    private Long memberId;

    @ApiModelProperty(value = "文件格式,支持多种格式查询,以逗号分隔", example = "jpg,png,gif")
    private String suffix;

    @ApiModelProperty(value = "备注信息")
    private String note;

    @ApiModelProperty(value = "批量查询用户ID", hidden = true)
    private List<Long> memberIds;

    @ApiModelProperty(value = "是否查询子账号数据")
    private Boolean searchChild;

    @ApiModelProperty(value = "父目录文件ID")
    private Long parentFileId;

    @ApiModelProperty(value = "文件分类,支持image,video,model,word,audio")
    @EnumValue(enumClass = OssCategoryEnums.class, allowNull = true, message = "不合法")
    private String category;

    @ApiModelProperty(value = "厂商,多个厂商以逗号分隔,1->gosalm,2->navvis", example = "1,2")
    private String manufacturer;


}
